/*
 * @Author: guoyangf
 * @Date: 2020-07-28 16:03:25
 * @LastEditTime: 2020-07-28 16:49:37
 * @Description: file content
 */ 
async function pkListRefresh() {
    if (!this.pkListIsRefreshing) {
        this.pkListIsRefreshing = true;
        let q = await this.requestApi; //询问
        if (q.data) {
            let result = await this.requestApi
            //修正pkList
            this.pkListIsRefreshing = false;

        } else {
            this.pkListIsRefreshing = false;

        }
        
    }
}

async function timerPkListRefresh() {
    setInterval(() => {
        this.pkListRefresh()
    }, 1000*15)
}